package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.dto.ArticleDto;
import com.usian.model.article.dto.ArticleHomeDto;
import com.usian.model.article.dto.ArticleInfoDto;
import com.usian.model.article.pojos.ApArticle;
import com.usian.model.common.dtos.ResponseResult;

import java.util.List;

public interface ApArticleService extends IService<ApArticle> {

    public ApArticle saveApArticle(ApArticle apArticle);

    public ResponseResult loadList(Short type, ArticleHomeDto dto);

    public ResponseResult loadDetail(ArticleDto dto);

    public ResponseResult loadArticleBehavior(ArticleInfoDto dto);
}
